#/usr/bin/python
import os
import sys
li=[i for i in sys.argv[1:]]
url='curl http://localhost:6800/schedule.json -d project=finallpro -d spider=%s'
for i in li:
	print i
	url1=url%i
	print url1
	os.system(url1)

